<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="text/html; charset=utf-8"
         pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1"><!-- Google Chrome Frame也可以让IE用上Chrome的引擎: -->
        <title>花礼网-后台</title>
        <link rel="stylesheet icon" type="text/css" href="${pageContext.request.contextPath}/admin/images/favicon.ico">
        <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/admin/css/base.css">
        <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/admin/css/iconfont.css">
        <script type="text/javascript" src="${pageContext.request.contextPath}/admin/framework/jquery-1.11.3.min.js"></script>
        <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/admin/layui/css/layui.css"><!--[if lt IE 9]>
        <script src="${pageContext.request.contextPath}/admin/framework/html5shiv.min.js"></script>
        <script src="${pageContext.request.contextPath}/admin/framework/respond.min.js"></script>
        <![endif]-->
        <script type="text/javascript" src="${pageContext.request.contextPath}/admin/layui/layui.js"></script><!-- 滚动条插件 -->
        <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/admin/css/jquery.mCustomScrollbar.css">
        <script src="${pageContext.request.contextPath}/admin/framework/jquery-ui-1.10.4.min.js"></script>
        <script src="${pageContext.request.contextPath}/admin/framework/jquery.mousewheel.min.js"></script>
        <script src="${pageContext.request.contextPath}/admin/framework/jquery.mCustomScrollbar.min.js"></script>
        <script src="${pageContext.request.contextPath}/admin/framework/cframe.js"></script><!-- 仅供所有子页面使用 -->
        <!-- 公共样式 结束 -->
        <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/admin/css/frameStyle.css">
        <script type="text/javascript" src="${pageContext.request.contextPath}/admin/framework/frame.js"></script>
    </head>
    <body>
    <c:if test="${adminuser==null }">
        <c:redirect url="login.jsp"></c:redirect>
    </c:if>
        <!-- 左侧菜单 - 开始 -->
        <div class="frameMenu">
            <div class="logo">
                <img src="${pageContext.request.contextPath}/admin/images/index-logo.jpg">
                <div class="logoText">
                    <h1>
                        花礼网-后台
                    </h1>
                    <p>
                        flowershop
                    </p>
                </div>
            </div>
            <div class="menu">
                <ul>
                    <li>
                        <a class="menuFA" href="javascript:void(0)" onclick="menuCAClick('${pageContext.request.contextPath}/sendEcharts',this)"><i class="iconfont icon-icon left"></i>图表显示</a>
                    </li>
                    <li>
                        <a class="menuFA" href="javascript:void(0)" onclick="menuCAClick('${pageContext.request.contextPath}/admin/userList.jsp',this)"><i class="iconfont icon-zhishi left"></i>会员管理</a>
                    </li>
                    <li>
                        <a class="menuFA" href="javascript:void(0)" onclick="menuCAClick('${pageContext.request.contextPath}/getAllOrder',this)"><i class="iconfont icon-zhishi left"></i>订单管理</a>
                    </li>
                    <li>
                        <a class="menuFA" href="javascript:void(0)"><i class="iconfont icon-liuliangyunpingtaitubiao03 left"></i>商品类别管理<i class="iconfont icon-dajiantouyou right"></i></a>
                        <dl>
                            <dt>
                                <a href="javascript:void(0)" onclick="menuCAClick('${pageContext.request.contextPath}/goodstypeshowadd',this)">添加商品类别</a>
                            </dt>
                            <dt>
                                <a href="javascript:void(0)" onclick="menuCAClick('${pageContext.request.contextPath}/getGoodsType?type=show',this)">管理商品类别</a>
                            </dt>
                        </dl>
                    </li>
                    <li>
                        <a class="menuFA" href="javascript:void(0)"><i class="iconfont icon-shangpin left"></i>商品管理<i class="iconfont icon-dajiantouyou right"></i></a>
                        <dl>
                            <dt>
                                <a href="javascript:void(0)" onclick="menuCAClick('${pageContext.request.contextPath}/getGoodsList',this)">基本商品库</a>
                            </dt>
                            <dt>
                                <a href="javascript:void(0)" onclick="menuCAClick('${pageContext.request.contextPath}/toAddGoods',this)">添加商品</a>
                            </dt>
                        </dl>
                    </li>
                </ul>
            </div>
        </div><!-- 左侧菜单 - 结束 -->
        <div class="main">
            <!-- 头部栏 - 开始 -->
            <div class="frameTop">
                <img class="jt" src="${pageContext.request.contextPath}/admin/images/top_jt.png">
                <div class="topMenu">
                    <ul>
                        <li>
                            <a href="userloginout?t=1" onclick="history.back()"><i class="iconfont icon-084tuichu"></i>注销</a>
                        </li>
                    </ul>
                </div>
            </div><!-- 头部栏 - 结束 -->
            <!-- 核心区域 - 开始 -->
            <div class="frameMain">
                <div class="title" id="frameMainTitle">
                    <span><i class="iconfont icon-xianshiqi"></i>图表显示</span>
                </div>
                <div class="con">
                    <iframe id="mainIframe" src="${pageContext.request.contextPath}/sendEcharts" scrolling="no" name="mainIframe"></iframe>
                </div>
            </div><!-- 核心区域 - 结束 -->
        </div>
    </body>
</html>